package cn.hg.jbsa.admin.controller.system.validator;

import com.jfinal.core.Controller;

import cn.hg.jboot.core.validator.BaseValidator;

/**
 * @author 胡高
 * @date 2022/02/15
 */
public class JbsaRoleResourceValidator extends BaseValidator {

    @Override
    protected void handleError(Controller c) {
    }

    @Override
    protected void validate(Controller c) {
        this.validateRequired("bean.roleId", "statusMsg", "必须关联管理员！");
        this.validateRequired("bean.resourceIds", "statusMsg", "必须关联资源！");
    }

}
